import React from 'react'

export default class DemoPage extends React.Component {
  static async getInitialProps (ctx) {
    console.log(ctx)
    return {
      query: ctx.query
    }
  }
  render () {
    return (
      <div>{JSON.stringify(this.props)}</div>
    )
  }
} 
